/*
 * @(#)ShopLogger.java 2011-11-04
 *
 * Copyright 2011 北龙中网（北京）科技有限责任公司. All rights reserved.
 */
package cn.shangjia.shop.log;

import cn.shangjia.common.business.code.BusCode;
import cn.shangjia.common.business.code.SystemCode;
import cn.shangjia.common.exceptions.Logger;

/**
 * SHOP日志工厂方法，可以返回指定BusCode和ServiceCode为商铺项目的logger工厂类.
 *
 * @author <a href="mailto:wangxin@knet.cn">wangxin</a>
 * @version 1.0, 2011-11-04 10:32:08
 * @since 1.0
 */
public class ShopLoggerFactory{
	
	public static Logger getLogger(String loggerName){
		return Logger.getLogger(BusCode.SST, SystemCode.SST_SHOP, loggerName);
	}
	
	public static Logger getLogger(Class<?> clazz){
		return Logger.getLogger(BusCode.SST, SystemCode.SST_SHOP, clazz);
	}
	
}
